<?php


include_once('include/header.php');
require('conf/configuration.php');

include_once('class/class.Noticias.php');

$categoria = $_GET['c'];
$noticias = new Noticias();

$id = $_GET['id'];
			
$noticia = $noticias->getById($id);
$imagen = $noticias->getImagen($noticia[imagesid]);
$smarty->assign("imagen", $imagen);
$smarty->assign("noticia", $noticia);

$smarty->assign('page','nota');
$smarty->display('nota.tpl');
